@import url('jquery.ui.theme.css');
@import url('calendar.css');

*{
  margin: 0px;
  padding: 0px;
}


body header {
  width: 100%;
}
body section {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-box-flex: 1;
}

form {
  position: relative;
  width: 500px;
}

header nav {
  background-color: #2D2D2D;
  height: 50px;
}

body {
  font-family: Verdana, Helvetica, sans-serif;
  background-color: #DDDDDD;
  margin: 0px;
}

panel {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  height: 28px;
}

.button {
  background-color: #4D90FE;
  background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: bold;
  font-family: Verdana, Helvetica, sans-serif;
  vertical-align: middle;
  padding: 2px 4px 2px 4px;
  margin: 2px;
  border: 1px solid #2D2D2D;
  border-radius: 4px;
}

.button:hover{
  background-image: -webkit-linear-gradient(top,#4d90ed,#4787ca);
}

#big_wrapper {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-flex: 1;
}

#sidebar{
  border-right: 2px solid #2d2d2d;
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  padding: 20px;
  width: 300px;
}

#sidebar ul {
  margin-right: 20px;
}

#sidebar li {
  width: 260px;
  height: 40px;
  display: list-item;
  border: 1px solid #2d2d2d;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  cursor: pointer;
  list-style-position: inside;
}

#sidebar li span {
  vertical-align: 15px;
}

#sidebar li[name="bt_favourite"]{
  list-style-image: url('/stat/star_icon.png');
}

#sidebar li.button {
  background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: bold;
  font-family: Verdana, Helvetica, sans-serif;
  vertical-align: middle;
}

#sidebar li.button:hover {
  background-image: -webkit-linear-gradient(top,#4d90ed,#4787ca);
  color: #FFFFFF;
  font: bold 14px;
  font-family: Verdana, Helvetica, sans-serif;
  vertical-align: middle;
}

body section {
  display: -webkit-box;
  -webkit-box-flex: 1;
  padding: 20px 10px;
}

section .descript {
	font-style: italic;
}

section .rname {
	font-weight: bold;
}

section .recipe{
	margin-bottom: 10px;
}

.login-header {
  padding-left: 200px;
  vertical-align: center;
}

#logo{
  position: absolute;
  padding-left: 8px;
  padding-top: 14px;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: bold; 
  /*background-image: url(/stat/cook-logo.png);*/
}

#search-bar{
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  position: absolute;
  left: 0px;
  height: 30px;
  width: 500px;
  padding-left: 150px;
}

#search-img{
  background-image: url(/stat/search-trans.png);
  height: 48px;
  width: 48px;
  position: relative;
  float: left;
}

#queryform{
  position:relative;
  float: left;
  height: 30px; 
}

#querybox{
  border: 1px solid #3079ED;
  margin-top: 8px;
  height: 30px;
  width: 400px;
  float: left;
  font-size: 20px;
}

.user-bar {
  right: 0px;
  position: absolute;
  color: #FFFFFF;
  font-size: 25px;
  padding-top: 8px;
  padding-right: 4px;
  display: block;
}

#bt_profprop{
  background-image: url(/stat/prop.png);
  width: 20px;
  height: 20px;
  float:left;
  margin-left: 8px;
  margin-top: 8px;
}

#bt_profexit{
 border: 1px solid #3079ED;
 margin: 0px 5px 0 5px;
 float: right;
 border-radius: 4px;
 cursor: default;
 padding-left: 4px;
 padding-right: 4px;
}

#bt_add{
  background-color: #D14836;
  background-image: -webkit-linear-gradient(top,#dd4b39,#d14836);
  border: 1px solid #B0281A;
  color: #FFFFFF;
  margin: 0px 5px 0 5px;
  float: left;
  width: 25px;
  height: 30px;
  border-radius: 4px;
  text-align: center;
  cursor: default;
  padding-left: 4px;
  padding-right: 4px;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #5C5C5C;
}
recipe {
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

recipe name {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
}
recipe form {
  width: auto;
} 
